package com.woniu.car.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author kk
 * @since 2022-08-09
 */
@TableName("car_type")
@ApiModel(value = "CarType对象", description = "")
public class TCarType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("车辆类型id")
    @TableId(value = "cartype_id", type = IdType.AUTO)
    private Integer cartypeId;

    @ApiModelProperty("类型名称")
    private String cartypeName;

    public Integer getCartypeId() {
        return cartypeId;
    }

    public void setCartypeId(Integer cartypeId) {
        this.cartypeId = cartypeId;
    }
    public String getCartypeName() {
        return cartypeName;
    }

    public void setCartypeName(String cartypeName) {
        this.cartypeName = cartypeName;
    }

    @Override
    public String toString() {
        return "CarType{" +
            "cartypeId=" + cartypeId +
            ", cartypeName=" + cartypeName +
        "}";
    }
}
